package com.bwhk.splitdata.task.model;


/**
 * 知识库
 * 
 * @author mzg
 *
 */
public class ItemFreq {

	private Integer id;

	private String descr;

	private String script;

	private String sort = "";

	private String order = "";

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDescr() {
		return descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	public String getScript() {
		return script;
	}

	public void setScript(String script) {
		this.script = script;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}
    public boolean equals(Object obj) {
        if (this == obj)
            return true;   
        if (obj == null)
            return false;  
        if (getClass() != obj.getClass())
            return false;  
        ItemFreq other = (ItemFreq) obj;       
        if (id == null) {  
            if (other.id != null)  
                return false;  
        } else if (!id.equals(other.id))
            return false;  
        return true;  
    }
}
